FromPolar(Double[],Double[],IList<Double>,IList<Double>,VectorAngleUnit,IList<IPointMetadata>) Method
Creates a new NonUniformVectorFieldDataSeries from polar (angle, magnitude) inputs. Angles and magnitudes are converted to Cartesian DX/DY components internally.
Syntax
public static NonUniformVectorFieldDataSeries FromPolar( double[] x, double[] y, IList<double> angle, IList<double> magnitude, VectorAngleUnit angleUnit, IList<IPointMetadata> metadata )
Parameters
- x
- The X positions of each vector origin.
- y
- The Y positions of each vector origin.
- angle
- The direction angle of each vector.
- magnitude
- The magnitude (length) of each vector.
- angleUnit
- Specifies whether angle values are in VectorAngleUnit.Radians or VectorAngleUnit.Degrees.
- metadata
- Optional per-point metadata.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also